package com.hsteach.web.controller.visit.sdk.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.dao.domain.visit.VisitPeers;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 〈〉
 *
 * @author ext.qiufukang1
 * @create 2023/11/21
 * @since 1.0.0
 */
@Data
@ApiModel(value = "SdkRecordDetailVo", description = "查询家访记录详情")
public class SdkRecordDetailVo {

    @ApiModelProperty(value = "记录Id", required = true)
    private Long recordId;

    @ApiModelProperty(value = "家访记录图片", required = true)
    List<String> visitImg;

    @ApiModelProperty(value = "家访记录", required = true)
    private String visitRecord;

    @ApiModelProperty(value = "打卡地点", required = true)
    private String visitAddr;

    @ApiModelProperty(value = "家访时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date visitDate;

    @ApiModelProperty(value = "同行人", required = true)
    private List<VisitPeers> visitPeers;

    @ApiModelProperty(value = "家庭结构", required = true)
    private String structure;

    @ApiModelProperty(value = "家庭描述", required = true)
    private String describeText;

    @ApiModelProperty(value = "家庭成员信息", required = true)
    private List<SdkFamilyPersonVo> familyPersons;
}